Add OpenShell middleware project initializer - #20
Merged
Conversation
johnnygreco
marked this pull request as ready for review
July 22, 2026 15:49
johnnygreco
marked this pull request as draft
July 22, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
openshell-middleware-initCLIvalidate in staging, and publish atomically
contributor guidance
Why
Middleware authors currently need to assemble version-matched protocol bindings,
build configuration, service boilerplate, and provenance metadata by hand. This
initializer packages those requirements into a reusable, non-destructive project
generator without installing or replacing OpenShell.
Validation
uv run ruff format --check .uv run ruff check .uv run ty checkuv run pytest(60 tests, 95.68% coverage)uv buildexisting-output, DNS, missing-release, and recovery paths
v0.0.86project: sync, format, lint, type check, 5 tests,build, help, and loopback startup
v0.0.86project: format, Clippy with warnings denied, 4 tests,build, and loopback startup
v0.0.86, includingdependency locking and successful Cargo compile check
std,build)Panel review
An initial three-specialist panel reviewed correctness and filesystem safety,
language integration, dependencies, developer experience, tests, and
documentation. Its findings were fixed and all three reviewers reported clean.
A subsequent independent panel used two focused reviewers:
scratch storage and exercised both generated language projects and failure
recovery paths;
safety machinery earned its complexity.
The panel found and fixed one dangling-destination-symlink publication bug. A
registration suggestion based on stale RFC prose was rejected after both
reviewers verified the exact shipped OpenShell
v0.0.86parser and operationaldocs. Both reviewers reported clean after the accepted fix, with no unresolved
findings.
This PR is intentionally draft and must not be merged without explicit approval.